#ifndef _COMPRESS_FILE_WRITER_
#define _COMPRESS_FILE_WRITER_
#include "stdafx.h"
#include <string>

class CompressFileWriter
{
public:
	CompressFileWriter() {};
	virtual ~CompressFileWriter() {};

	virtual bool OpenOutputFile(std::string file) = 0;
	virtual void CloseFile() = 0;
	virtual void WriteString(std::string srcFileName) = 0;
	virtual void WriteDict(int bitSize, int code, int dataSize, BYTE* data) = 0;
	virtual void WriteInt(int count) = 0;
	virtual void WriteData(int inputCode, int bitSize) = 0;
	virtual int GetWriteBytes() = 0;
};

#endif